package com.etc.dao;

import com.etc.pojo.CarMstPojo;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CarMapper {

    @Insert(" insert into car_mst values(null, #{carType}, #{license}, #{image}, CURRENT_TIMESTAMP)  ")
    public int insert(CarMstPojo carMstPojo);

    
    List<CarMstPojo> selectByCondition(CarMstPojo pojo);
}
